
// Chapter16View.cpp : implementation of the CChapter16View class
//

#include "stdafx.h"
#include "Chapter16.h"

#include "Chapter16Doc.h"
#include "Chapter16View.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#endif


// CChapter16View

IMPLEMENT_DYNCREATE(CChapter16View, CView)

BEGIN_MESSAGE_MAP(CChapter16View, CView)
END_MESSAGE_MAP()

// CChapter16View construction/destruction

CChapter16View::CChapter16View()
{
	// TODO: add construction code here

}

CChapter16View::~CChapter16View()
{
}

BOOL CChapter16View::PreCreateWindow(CREATESTRUCT& cs)
{
	// TODO: Modify the Window class or styles here by modifying
	//  the CREATESTRUCT cs

	return CView::PreCreateWindow(cs);
}

// CChapter16View drawing

void CChapter16View::OnDraw(CDC* /*pDC*/)
{
	CChapter16Doc* pDoc = GetDocument();
	ASSERT_VALID(pDoc);
	if (!pDoc)
		return;

	// TODO: add draw code for native data here
}


// CChapter16View diagnostics

#ifdef _DEBUG
void CChapter16View::AssertValid() const
{
	CView::AssertValid();
}

void CChapter16View::Dump(CDumpContext& dc) const
{
	CView::Dump(dc);
}

CChapter16Doc* CChapter16View::GetDocument() const // non-debug version is inline
{
	ASSERT(m_pDocument->IsKindOf(RUNTIME_CLASS(CChapter16Doc)));
	return (CChapter16Doc*)m_pDocument;
}
#endif //_DEBUG


// CChapter16View message handlers
